package com.wn26.service;

import java.sql.SQLException;

import com.wn26.bean.User;

public interface UserService {
	
	/**
	 * 用户登录登录成功返回用户的全部信息
	 * @param userName
	 * @param userPwd
	 * @return
	 * @throws SQLException 
	 */
	User userLogin(String userName,String userPwd) throws SQLException;
	
	/**
	 * 用户注册
	 * @param registerUser
	 * @return
	 * @throws SQLException 
	 */
	boolean userRegister(User registerUser) throws SQLException;

	/**
	 * 判断手机号是否存在!
	 * @param user_tel
	 * @return
	 * @throws SQLException 
	 */
	boolean checkTelExists(String user_tel) throws SQLException;

}
